(0) Obligation:
Runtime Complexity TRS:
The TRS R consists of the following rules:
@(Cons(x, xs), ys) → Cons(x, @(xs, ys))
@(Nil, ys) → ys
binom(Cons(x, xs), Cons(x', xs')) → @(binom(xs, xs'), binom(xs, Cons(x', xs')))
binom(Cons(x, xs), Nil) → Cons(Nil, Nil)
binom(Nil, k) → Cons(Nil, Nil)
goal(x, y) → binom(x, y)
Rewrite Strategy: INNERMOST
(1) DecreasingLoopProof (EQUIVALENT transformation)
The following loop(s) give(s) rise to the lower bound Ω(2n):
The rewrite sequence
binom(Cons(x, xs), Cons(x', xs')) →+ @(binom(xs, xs'), binom(xs, Cons(x', xs')))
gives rise to a decreasing loop by considering the right hand sides subterm at position [0].
The pumping substitution is [xs / Cons(x, xs), xs' / Cons(x', xs')].
The result substitution is [ ].
The rewrite sequence
binom(Cons(x, xs), Cons(x', xs')) →+ @(binom(xs, xs'), binom(xs, Cons(x', xs')))
gives rise to a decreasing loop by considering the right hand sides subterm at position [1].
The pumping substitution is [xs / Cons(x, xs)].
The result substitution is [ ].
(2) BOUNDS(2^n, INF)